<template>
  <div id="app" class="app-container">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'app',
  components: {}
}
</script>

<style>
/*全局变量*/
:root {
  --main-bg-color: #393e46;
  --main-bg2-color: #222831;
  --main-bg3-color: #00adb5;
  --main-txt-color: #eeeeee;
  --main-warn-color: #e1a446;

}

/*el-menu菜单hover样式*/
.el-submenu__title:hover {
  background-color: var(--main-bg-color) !important;
}
.el-menu-item:hover {
  background-color: var(--main-bg-color) !important;
}

/*滚动条样式*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  width: 6px;
  background: rgba(#101F1C, 0.1);
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(144, 147, 153, .5);
  background-clip: padding-box;
  min-height: 28px;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
  transition: background-color .3s;
  cursor: pointer;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(144, 147, 153, .3);
}

.app-container {
  background-color: var(--main-bg-color);
}
</style>
